﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shopping.Domain.DTO
{
    public class tb_user_InputDto
    {
        [Required]
        [MinLength(6)]
        [MaxLength(15)]
        public string UserName { get; set; }
        /// <summary>
        /// 最小长度是6
        /// </summary>
        [MinLength(6)]
        public string Password { get; set; }
        public string NickName { get; set; }
        public string Avatar { get; set; }
        public string Sex { get; set; }
        public string Phone { get; set; }
        public string Email { get; set; }
        public bool Emailverified { get; set; }
        public string TrueName { get; set; }
        [MaxLength(18)]
        public string IdCard { get; set; }
        public DateTime? Birthday { get; set; }
        public string Introduction { get; set; }
        public string OrganizationId { get; set; }
        /// <summary>
        /// 创建者
        /// </summary>
        public string CreateUser { get; set; }

    }
}
